package com.yxinsur.imc.business.events.event;

import com.yxinsur.imc.business.domain.ImcTenant;
import org.springframework.context.ApplicationEvent;

/**
 * 租户录入事件
 * @author imc
 *
 */
public class TenantCreateEvent  extends ApplicationEvent {
    private String msg;

    private ImcTenant tenant;

    public TenantCreateEvent(Object source,String msg,ImcTenant tenant) {
        super(source);
        this.tenant=tenant;
        this.msg=msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ImcTenant getTenant() {
        return tenant;
    }

    public void setTenant(ImcTenant tenant) {
        this.tenant = tenant;
    }
}
